Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(processor): Add a metric to track the time of all messages #2877

Merged
merged 4 commits into from
Dec 20, 2023

Conversation

jan-auer
Copy link
Member

@jan-auer jan-auer commented Dec 20, 2023

In order to estimate the throughput and capacity of the envelope
processor service, we're tracking the number and duration of all
processed messages. This should allow us to assess when the CPU pool is
reaching its limit.

The metric is tracked as processor.message.duration and has a
message tag containing the name of the variant / struct that is being
processed. This allows to break down the volume and duration of each of
the messages by type.

@jan-auer jan-auer requested a review from a team as a code owner December 20, 2023 09:58
@jan-auer jan-auer self-assigned this Dec 20, 2023
@jan-auer jan-auer requested a review from olksdr December 20, 2023 10:05
@jan-auer jan-auer enabled auto-merge (squash) December 20, 2023 10:13
@jan-auer jan-auer merged commit b56f20e into master Dec 20, 2023
21 checks passed
@jan-auer jan-auer deleted the feat/process-message-duration branch December 20, 2023 10:50
jan-auer added a commit that referenced this pull request Dec 20, 2023
* master:
  feat(processor): Add a metric to track the time of all messages (#2877)
  build(py): Update to python 3.9 (#2876)
  fix(spans): Collapse constants in SQL select (#2867)
  fix(spans): Parse quotes in MySQL (#2846)
  ref(cardinality): Use a Lua script and in-memory cache for the cardinality limiter (#2849)
  fix(spans): Detect hex with fallback scrubber (#2868)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants